<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>供应商报价</title>
    <link rel="stylesheet" href="../assets/plugin/jquery-ui-1.12.1.custom/jquery-ui.css"/>
    <link rel="stylesheet" href="../assets/plugin/layer/skin/default/layer.css"/>
    <link rel="stylesheet" href="../assets/css/offerPrice.css"/>
</head>

<body>
<div class="container-section">
    <div class="main-section">
        <div class="header-section">
            供应商报价
        </div>
        <form class="form-horizontal">
            <table class="customer-table">
                <tbody>
                <tr>
                    <td class="label-name">报关行：</td>
                    <td class="label-type label-supComName">
                    </td>
                    <td class="label-effect">&nbsp;</td>
                    <td class="label-start">&nbsp;</td>
                    <td class="label-start-input">&nbsp;</td>
                    <td class="label-end">&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
                </tbody>
            </table>
            <table class="fee-table fee-table-template">
                <thead>
                <tr>
                    <td class="label-feeName label-name-bold label-custom-general">报关报检费：</td>
                    <td class="label-startCount">&nbsp;</td>
                    <td class="label-startUnit">&nbsp;</td>
                    <td class="label-startUnitPrice">&nbsp;</td>
                    <td class="label-countingBy">&nbsp;</td>
                    <!--<td class="label-starting"></td>
                    <td class="label-startingPrice"></td>
                    <td class="label-startingCountingBy">&nbsp;</td>-->
                    <td class="label-cap">&nbsp;</td>
                    <td class="label-capPrice">&nbsp;</td>
                    <td class="label-totalUnit">&nbsp;</td>
                    <td class="label-descript">&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
                </thead>
                <tbody>
                <tr class="fee-tr fee-tr-template">
                    <td class="label-feeName">&nbsp;<!-- 续柜费： --></td>
                    <td class="label-startCount">&nbsp;
                        <!-- 第<span class="span-number">50</span> --></td>
                    <td class="label-startUnit">&nbsp;<!-- 柜起 --></td>
                    <td class="label-startUnitPrice">&nbsp;
                        <!-- <span class="span-fee">9999</span> --></td>
                    <td class="label-countingBy">&nbsp;<!-- 元/柜 --></td>
                    <!--<td class="label-starting">&nbsp;起步价</td>
                    <td class="label-startingPrice">&nbsp;</td>
                    <td class="label-startingCountingBy">&nbsp;</td>-->
                    <td class="label-cap">&nbsp;<!-- 封顶： --></td>
                    <td class="label-capPrice">&nbsp;<!-- 333333 --></td>
                    <td class="label-totalUnit">&nbsp;<!-- 元 --></td>
                    <td class="label-descript">&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
                </tbody>
            </table>
            <div class="exp-fee">
                <table class="deal-type-table">
                    <tbody>
                    <tr>
                        <td class="label-name">进出口类型：</td>
                        <td class="label-type">出口</td>
                        <td class="label-effect">协议有效期：</td>
                        <td class="label-start">从</td>
                        <td class="label-start-input start-time">
                        </td>
                        <td class="label-end">至</td>
                        <td class="end-time">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div class="sperator"></div>
            <div class="imp-fee">
                <table class="deal-type-table">
                    <tbody>
                    <tr>
                        <td class="label-name">进出口类型：</td>
                        <td class="label-type">进口</td>
                        <td class="label-effect">协议有效期：</td>
                        <td class="label-start">从</td>
                        <td class="label-start-input start-time">
                        </td>
                        <td class="label-end">至</td>
                        <td class="end-time">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div class="btn-section">
                <button type="button" class="btn btn-blue" onclick="history.go(-1);">返回</button>
                <button type="button" class="btn btn-blue">确认</button>
            </div>
        </form>
    </div>
</div>
<script type="text/javascript" src="../assets/js/jquery.js"></script>
<script type="text/javascript" src="../assets/plugin/jquery-ui-1.12.1.custom/jquery-ui.js"></script>
<script type="text/javascript" src="../assets/plugin/layer/layer.js"></script>
<script type="text/javascript" src="../assets/js/offerPrice.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        _PROTOTYPE_._init();
        $(".btn-section").find(".btn:eq(1)").on("click", function () {
            $.ajax({
                       url: '/fund/protocol/biz/supDidConfirm',
                       type: 'get',
                       data: window.location.search.substr(1),
                       dataType: 'json',
                       cache: false,
                       success: function (data) {
                           if (data.result) {
                               layer.alert(data.msg, function () {
                                   history.go(-1);
                               });
                           }else {
                               layer.alert(data.msg);
                           }
                           console.log(data);
                       },
                       error: function (a, b, c) {
                           console.log(b);
                       }
                   });
            /*layer.alert("同意该报价");*/
        });
        if (location.href.indexOf('op=v') > 0) {
            $(".btn-section button.btn:eq(1)").remove();
        }
    });
</script>
</body>

</html>
